package javacore.fundamentals.accessmodifier.priv;

/* Class with everything private don't exist on the world*/
public class AllPrivate {
	private String name;
	private double money;
	
	public AllPrivate(String name, double money) {
		this.name = name;
		this.money = money;
	}
	
	private void printInfo (){
		System.out.println(name + " " + money);
	}
	
	public static void main(String[] args) {
		// except me, noone can see my info
		new AllPrivate("Police", 9999.9999d).printInfo();
	}
}
